var arr=[
      [1,2,3],
		  [1,2,3],
		  [1,2,3]
];

var table={
      5:{3:1,2:2,5:3},
		  2:{3:1,2:2,5:3},
		  1:{3:4,2:5,5:6}
		};

//delete table[1];
console.log(table);

for(var i in table){
  for(var j in table[i])
		console.log(i,j,table[i][j]);
}
